SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '343792cacb5ee8fe049b9ef38bf6648ca0c1c954bb77302288838afcd15f97a8' 
  AND token = 'muudK5+B0ZYnqekXGAAUXI6dnedTaMNZWuwHeWNdj1s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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