SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '598416c5d8f6b5dd1b7e4d075cf00cb1786239e9b7ce9a6d6992210d9f0696dd' 
  AND token = 'IBDEC9nlaNUUEPh1Lk5/tgOfQoyKdhNBRT5C/uicMF0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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