SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '504c0a26aa4d41afb5b0eb60fccbd717fe4825349936708159b854379c04f5c5' 
  AND token = 'gRU21THNEEPP2UZs+YNPimgP3DVB29WTd6gsKqm4WIs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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