SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a799309d8465ef9842b8178ead4ddbfa2e70f4ac43bf9a87ba51968d09d065e' 
  AND token = 'sDtWaNRjJy1b5NTIxHJ5CHE/aSDWWp7t/CaoAYuvb6Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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