SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9d02794daec2e0f4da0b743cee69860623758b21591efa9d31ec45b1391596f' 
  AND token = '1fpleZp51wXHVEGsN6zrmFQ/KT9ax0mxtBFd81C9Wc4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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