SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a05ce38249140b313fcc87e74b23b315442349cca672a17f010afff5a6cc1d3b' 
  AND token = 'jDXWr+/l0lNCsWism/r5G48JHyt+MOiXCJzy/uTojco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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