SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '524d6b4a84234857a065171a61fb09cced50e654177f0eedaed2b418afa009e7' 
  AND token = 'r4vuFrmvqrEpFOaH0fybBkLbrcVqobsdEsWhKAXJNGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}