SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1e89c63dee77a9f156cc7df5913a64b9c19d004adbb97fc491371df215915ed' 
  AND token = 'mvTGUCmZ1mkJLPnJ7CLSpu+KS+SoZMwadpGSanhGgqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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