SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2466ec040cc4c1d2feda41efa64f5d3c5b77f217e722cb464ecd4507568bcbd' 
  AND token = '4kqfKIYplGnzOCSAYNEsuLYrdMxwD25NzfR9XO1s2Wg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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