SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12f7ce45f2513d98145f2dd509e0e425bb663e63c15ef6b0e4436ec907834383' 
  AND token = 'ugJRSNW5+xXyLKrMSGEl86WwESSOb/IuffuwL7QWbpc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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