SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8a8e1101f6328cc698bfbeef939beaf7e87418c83fe02b2cccd85e45861f59a' 
  AND token = 'Xkpo4HcO15QcaQ8CnBICGuJySFTyJ85isIJQrLNzJoY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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