SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7217d0544ccd2f433915b42a45841ad5d7a24c71c52f7db3b7e30cba8338b392' 
  AND token = 'E7SrMqOQh636kYSiV3ahY2sva0Tso2GQmd3Z9zXcbcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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