SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39fec62ceb7dc65f2ca67ae3469f2530fa02c8fa3ee3dd4921f012c90ef4e165' 
  AND token = 'iwFkT/eJHpyMGfY7heLG6UAVv/cTxar3q5tku/MYcUE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}