SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e51a89bfbf083a3bd42755497c7a092c73a3b7ae503e2869c8a50fa35e016eda' 
  AND token = 'OhZ9Ay8ekosl/8rtHVBmBGXfIc1tdiZTkHrsEv1m8Wo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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