SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aae51942b05b058dc41de15417d9e493523c0b789fee022b2368200433c961e2' 
  AND token = 'Sz7oCS036DUtSKHrTnsY6UN02/ao18B/OnzHeyxmXkg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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