SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bdc3f85f693e022defdee3f864571c58b4980b495c5d8772e427ebcfd21d6554' 
  AND token = 'P8/6MPV/q9PPgLzIr53J7sqxen07o4ezFXi69U4htUc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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