SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2f4adbcaea575f2d0beb2a480aee35eb1e2e0eb5190d831b39f7605119b49a0' 
  AND token = 'vYwLp46M2AY3gKj0n5rpDfrjyLwBs+XDI1mx40mMdBg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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