SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f6503814a29176933d1b7ba6646503611de5c13417a572af5cc2c9a12be4bb7' 
  AND token = '2O79xr4ehhaCZ3ZphmKQrvOW6X3Z/vq8pWRTCNOYANg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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