SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed588e18ead8525e576ccaa635b48ed4eb83ff82fa91f765674cb9c3e6ba712c' 
  AND token = '5znSn/rMcYfty7ZOPHXz0TBZzKydMV1Uxil9peNdZzs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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