SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6b7059a04e04aa1782a00388daea97df647ff6367c209df3e59e499cec021d0' 
  AND token = 'cnUEcly3Ml3qrJDkBMmN12TSOmDsN/DPhs2tIVrJWf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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