SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17eef5267acf764ff4279e485c44aee698cec70d3fa5053340b14719d590d471' 
  AND token = 'g23jdRFs5XZeeQEqTfa/g3adek+zPq6J3g7RMOng8XA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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