SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ce18977608a5509c19e4b70001dedcf110eb323adad85782281b8fe940661d0' 
  AND token = '5dQ1A7KCk8Hohm39kJ/wu4YGGAPe2OFgjGvVMdyNPwE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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