SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21cee0c7050c2c008912a61c23185f79269b5f732f50d98236b5ed3aac69e236' 
  AND token = 'WXXrKauLXuLVCbj/NBSU6B5g1sA6O2fHwuBT9+IbPKg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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