SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd56db5452984443160fb06f6d9cdbe4e91397d1dd9e1c086adcc976614b8e257' 
  AND token = 'xOXpqG3nK5OZ1yEjgA8uxI9Cmj+Xas1q1pUGI7ArXyM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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