SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a2b8a269407bf06364f02bfef2c37ef28204571363f3d3bbed56d07de91482a' 
  AND token = 'hECBf+0sozNhAr5ZQzi3MhCHGiN/gJv4S8Fe/0X8v4U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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