SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f78ccd5c4cf2e74478af2460e7f868c03d764d536d4056056ad67424d1530b74' 
  AND token = 'Gi2p20Nwt7QNhs6JuEI2DudbS8IV+IPOg7l6MkaZZiE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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