SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '98a9344b7867f685a3bc7a571765589264ea5f61257b68ee2c64034e8da97d41' 
  AND token = 'yaZK+VLp4GK8xf/Au6z3OFiWSy622Hkxau6JZ0+nnwY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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