SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f0737797ceddcabb56e4e92168a754afd1f028e2f2691d7ce4b53ac0325b1fe' 
  AND token = 'uYJVmkU1Oe3OO9o6Qez7tdzLiJERbGA4Zvwk5UHLPX4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00114

JSON explain

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