SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc28be7b1525589c5734c1410c319eb1fb4bf062b3cf8e506eca76a39f971d08' 
  AND token = 'ap5gsBPttdCuLj4Sm8psERh8eUB0PEshN3kba08ER8Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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