SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07d4fab56c48f6cee490458bcc33e8d909009d089b1278ae952201f4268019b4' 
  AND token = 'O0WTGUjml2Nyj+qyDGTwAzY8cP89jkG7eoyUCU18G4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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