SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '006f47d363b16ec6bc5a1590cfd1b466f025f96d3f4d641c6155799c77c805e7' 
  AND token = '7z374rmC//Vf7U80lnSYQPoZVVWX5mBchKAXWPmjvDk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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