SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '164377b2cf786e882efcc7daac3e09e45775004bdab0b2464e16c14656b7197c' 
  AND token = '+MCocfA5qWZMPVyG9XCiO9UdGxPULAaemjBEtHi6XWs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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